package com.gitee.dupe.dict.dao;

import com.gitee.dolt.boot.mapper.SuperMapper;
import com.gitee.dupe.dict.entity.Dictionary;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LYH
 * @since 2020-10-11
 */
@Repository
public interface DictionaryMapper extends SuperMapper<Dictionary> {

    List<Dictionary> findAllByTypesAndEnabledTrue(@Param("types") List<String> types);
}
